package com.cjm.one.webmanager.service.goods;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cjm.one.model.goods.entity.GoodsBrand;
import com.cjm.one.model.goods.vo.GoodsBrandVo;

import java.util.ArrayList;

public interface GoodsBrandService {
    Page<GoodsBrandVo> pageByName(Integer current, Integer size, String name);

    GoodsBrandVo getById(Long id);

    Boolean save(GoodsBrand goodBrand);

    Boolean updateById(GoodsBrand goodBrand);

    Boolean removeById(Long id);

    ArrayList<GoodsBrandVo> listAll();
}
